on History Updated With Kind
Subscribe to changes to the undo/redo history.
Each emitted HistoryUpdate describes what kind of update happened so consumers can distinguish a real change to the active history's snapshots (e.g. an edit, undo, or redo) from a pure activation via setActiveHistory.
Return
flow of history updates.